package com.clinic.service.impl;

import com.clinic.dao.MylogDao;
import com.clinic.entity.Mylog;
import com.clinic.service.MyLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class MyLogServiceImpl implements MyLogService {
    @Autowired(required = false)
    private MylogDao mylogDao;

    @Override
    //按照对象中赋值的属性写入数据库
    public void addLog(Mylog mylog) {
         mylogDao.insertSelective(mylog);
    }
}
